<template>
	<div class="homeG">
		<div class="top_title">
			<div></div>
			<div>物料品质检测</div>
		</div>
		<div class="title">
			<div>检测环节</div>
			<div>合格率</div>
		</div>
		<div class="info">
			<div>
				<div class="circle"></div>
				<div>最终检验</div>
				<div>
					<el-progress :stroke-width="14" color="#1B67E8" :percentage="80"></el-progress>
				</div>
			</div>
			<div>
				<div class="circle"></div>
				<div>过程检验</div>
				<div>
					<el-progress :stroke-width="14" color="#00CCFE" :percentage="20"></el-progress>
				</div>
			</div>
			<div>
				<div class="circle"></div>
				<div>出货检验</div>
				<div>
					<el-progress :stroke-width="14" color="#13D7AD" :percentage="50"></el-progress>
				</div>
			</div>
			<div>
				<div class="circle"></div>
				<div>来料检验</div>
				<div>
					<el-progress :stroke-width="14" color="#FFD139" :percentage="90"></el-progress>
				</div>
			</div>
		</div>
	</div>
</template>

<script>
// import styles from '@/app.scss';
export default {
	data() {
		return {
			// bg_color: styles.bg_color,
			name: ''
		};
	},
	mounted() { }
};
</script>
<style lang="scss">
.info {
  > div:first-child {
    color: #1b67e8;
    .circle {
      background: #1b67e8;
    }
    .el-progress__text {
      color: #1b67e8 !important;
      font-size: 24px !important;
      font-weight: bold;
    }
  }
  > div:nth-child(2) {
    .circle {
      background: #00ccfe;
    }
    color: #00ccfe;
    .el-progress__text {
      color: #00ccfe !important;
      font-size: 24px !important;
      font-weight: bold;
    }
  }
  > div:nth-child(3) {
    .circle {
      background: #13d7ad;
    }
    color: #13d7ad;
    .el-progress__text {
      color: #13d7ad !important;
      font-size: 24px !important;
      font-weight: bold;
    }
  }
  > div:last-child {
    .circle {
      background: #ffd139;
    }
    color: #ffd139;
    .el-progress__text {
      color: #ffd139 !important;
      font-size: 24px !important;
      font-weight: bold;
    }
  }
}
</style>
<style lang="scss" scoped>
.homeG {
  padding: 0 $px_24;
  // border-top: 4px solid $bg_color;
  border-radius: 4px;
}
.info > div {
  margin-top: 30px;
}
.info div {
  display: flex;
  align-items: center;
  > div {
    display: flex;
    align-items: center;
  }
  > div:first-child {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    margin-right: 10px;
  }
  > div:nth-child(2) {
    font-weight: bold;
    width: 80px;
  }
  > div:last-child {
    flex: 1;
  }
}
.top_title {
  height: 56px;
  display: flex;
  align-items: center;
  font-weight: bold;
  border-bottom: 1px solid #e1e5ed;
  > div:first-child {
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: $bg_color;
    margin-right: 5px;
  }
}
.title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #969799;
  height: 56px;
}
</style>
